package itesm.coler.models;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class MessageType implements Serializable {

	
	private String messagetypeid;
	private String messagetypename;
	private MessageCategory messagecategory;
	private boolean active;
	
	public MessageType()
	{
		
	}
	
	public MessageType(String messagetypeid, String messagetypename, MessageCategory messagecategory, boolean active)
	{
		this.messagetypeid = messagetypeid;
		this.messagetypename = messagetypename;
		this.messagecategory = messagecategory;
		this.setActive(active);
	}
	
	public String getMessagetypeid() {
		return messagetypeid;
	}
	
	public void setMessagetypeid(String messagetypeid) {
		this.messagetypeid = messagetypeid;
	}
	public String getMessagetypename() {
		return messagetypename;
	}
	public void setMessagetypename(String messagetypename) {
		this.messagetypename = messagetypename;
	}
	public MessageCategory getMessageCategory() {
		return messagecategory;
	}
	public void setMessageCategory(MessageCategory messageCategory) {
		this.messagecategory = messageCategory;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}
	
	

}
